package com.scproject.scbef.mapper;

import com.scproject.scbef.pojo.SchoolNews;
import com.scproject.scbef.pojo.SchoolNewsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SchoolNewsMapper {
    long countByExample(SchoolNewsExample example);

    int deleteByExample(SchoolNewsExample example);

    int deleteByPrimaryKey(String id);

    int insert(SchoolNews record);

    int insertSelective(SchoolNews record);

    List<SchoolNews> selectByExampleWithBLOBs(SchoolNewsExample example);

    List<SchoolNews> selectByExample(SchoolNewsExample example);

    SchoolNews selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") SchoolNews record, @Param("example") SchoolNewsExample example);

    int updateByExampleWithBLOBs(@Param("record") SchoolNews record, @Param("example") SchoolNewsExample example);

    int updateByExample(@Param("record") SchoolNews record, @Param("example") SchoolNewsExample example);

    int updateByPrimaryKeySelective(SchoolNews record);

    int updateByPrimaryKeyWithBLOBs(SchoolNews record);

    int updateByPrimaryKey(SchoolNews record);
}